package com.task.scheduling.controller;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/500")
public class ErrorController {
	@RequestMapping()
	public String success(HttpServletRequest req, HttpServletResponse res) {
		System.out.println("in excep.controller.ErrorController.success(HttpServletRequest, HttpServletResponse)");
		return "/error/500";
	}
}
